package com.example.myonlinemusic.mapper;

import com.example.myonlinemusic.model.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    //登录
    public User login(User loginUser);
    //根据名字查询用户
    public User selectByName(String username);

    //注册用户
    int insertUser(User user);
}
